package shoppingmall.manage.pojo;

/**
 * 平台会员用户的收货地址表对应的实体类
 */
public class UserAddress {

    private int id;  //地址id主键
    private int userId;  //地址所对应的会员用户id
    private String linkUser;  //地址联系人
    private String linkPhone;  //地址联系人手机
    private String linkAddress;  //地址联系人地址详情
    private boolean defaultAddress;  //是否为默认地址
    private String createTime;  //地址创建时间
    private String updateTime;  //地址更新时间

    public UserAddress() {
    }
    public UserAddress(int id, int userId, String linkUser, String linkPhone, String linkAddress, boolean defaultAddress, String createTime, String updateTime) {
        this.id = id;
        this.userId = userId;
        this.linkUser = linkUser;
        this.linkPhone = linkPhone;
        this.linkAddress = linkAddress;
        this.defaultAddress = defaultAddress;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getLinkUser() {
        return linkUser;
    }

    public void setLinkUser(String linkUser) {
        this.linkUser = linkUser;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLinkAddress() {
        return linkAddress;
    }

    public void setLinkAddress(String linkAddress) {
        this.linkAddress = linkAddress;
    }

    public boolean isDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(boolean defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
